package com.zktr.servlet;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.zktr.pojo.Users;


@WebServlet("/UsersServlet")
public class UsersServlet extends BaseServlet {
	private static final long serialVersionUID = 1L;

	/**
	 *	退出登入
	 * @return 
	 */
	public String exitUser(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getSession().removeAttribute("user");
		return "r:/shenyongqiang/index.jsp";
	}
	
}
